package Merlion.userManagement.bean;

import java.io.UnsupportedEncodingException;
import java.security.NoSuchAlgorithmException;
import javax.ejb.Remote;

@Remote
public interface ResetPasswordBeanRemote {

    public String getSecurityQuestion(String email);

    public String getSecurityAnswer(String email);

    public String getPassword(String email);

    public boolean updatePassword(String email, String password, String securityAnswer) throws NoSuchAlgorithmException, UnsupportedEncodingException;

    public boolean changeSecurityQuestion(String email, String securityQuestion, String securityAnswer);
}
